-- GENERATED SPELL FOR [Setis] --


function spell0_14471(pUnit, Event) --@Crowd Pummel,n/a--
pUnit:FullCastSpellOnTarget(10887,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14471', 5265, 1)
end

function spell1_14471(pUnit, Event) --@War Stomp,Self--
pUnit:FullCastSpellOnTarget(16727,pUnit)
pUnit:RegisterEvent('Sorts_14471', 5296, 1)
end

function Sorts_14471(pUnit, Event)
local choix_sorts_14471 = math.random(0, 1)
if choix_sorts_14471 == 0 then
pUnit:RegisterEvent('spell0_14471', 1, 1)
end
if choix_sorts_14471 == 1 then
pUnit:RegisterEvent('spell1_14471', 1, 1)
end
end

function mob14471_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14471', math.random(1500, 3000), 1)
end

function mob14471_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14471_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14471_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14471, 1, 'mob14471_Action')
RegisterUnitEvent(14471, 2, 'mob14471_Leave')
RegisterUnitEvent(14471, 3, 'mob14471_Kill')
RegisterUnitEvent(14471, 4, 'mob14471_Die')
